package com.aiti.lulian.entity.message;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 报价消息实体类
 *
 * @author WongMz
 * @date 2024-08-07
 */
@Data
@TableName("show_offer_message")
public class OfferMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID（主键）
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_ID)
    private String baseId;

    /**
     * 报价用户ID
     */
    @TableField("offer_user_id")
    private String offerUserId;

    /**
     * 报价方企业名称
     */
    @TableField("enterprise_name")
    private String enterpriseName;

    /**
     * 询价单ID
     */
    @TableField("sourcing_order_id")
    private String sourcingOrderId;

    /**
     * 询价用户ID
     */
    @TableField("sourcing_order_user_id")
    private String sourcingOrderUserId;

    /**
     * 询价单名称
     */
    @TableField("sourcing_order_name")
    private String sourcingOrderName;

    /**
     * 报价单ID
     */
    @TableField("offer_id")
    private String offerId;

    /**
     * 是否已读：'0'未读，'1'已读
     */
    @TableField("is_read")
    private String isRead;

    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;
}